package com.vca.service.service;



import com.vca.common.page.CommonPage;
import com.vca.common.request.OrderWriteOffRequest;
import com.vca.common.request.PageParamRequest;
import com.vca.common.request.StoreOrderStaticsticsRequest;
import com.vca.common.request.WriteOffRecordRequest;
import com.vca.common.response.StoreOrderVerificationConfirmResponse;
import com.vca.common.response.StoreStaffDetail;
import com.vca.common.response.StoreStaffTopDetail;
import com.vca.common.response.WriteOffRecordResponse;

import java.util.List;

/**
 * 订单核销业务
 */
public interface StoreOrderVerification {
    /**
     * 获取订单核销数据
     */
    StoreStaffTopDetail getOrderVerificationData();

    /**
     * 核销月详情
     * @return 月详情
     */
    List<StoreStaffDetail> getOrderVerificationDetail(StoreOrderStaticsticsRequest request);

    /**
     * 根据核销码核销订单
     * @param id
     * @return 核销结果
     */
    Boolean verificationOrderByCode(Integer id);

    /**
     * 根据核销码查询待核销订单
     * @param request
     * @return 待核销订单详情
     */
    StoreOrderVerificationConfirmResponse getVerificationOrderByCode(OrderWriteOffRequest request, PageParamRequest pageParamRequest);

    /**
    * @Description: 核销记录列表
    * @Author: xyg
    * @Date: 2022/11/29
    */
    CommonPage<WriteOffRecordResponse> getWriteOffRecordList(WriteOffRecordRequest request, PageParamRequest pageParamRequest);
}
